﻿using Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;

namespace Application.MenuApp
{
    public interface IMenuAppService
    {

        Menu GetById(Int32 id);

        List<Menu> GetAll(string key);

        List<Menu> GetPageList(string SearchKeyWords, int PageSize, int PageCurrent, string OrderField, bool OrderDirection = true);
        bool AddOrUpdate(Menu model);

        bool DeleteById(int id);
    }
}
